<?php

require_once __DIR__ . "/../fast_theme/base.php";

use fast\Controller;

/* custom */
$custom      = [];
$custom_text = $this->options->JCustomNavs;
if ($custom_text) {
    $custom_arr = explode("\r\n", $custom_text);
    if (count($custom_arr) > 0) {
        for ($i = 0, $iMax = count($custom_arr); $i < $iMax; $i++) {
            $title    = explode("||", $custom_arr[$i])[0];
            $url      = explode("||", $custom_arr[$i])[1];
            $custom[] = array("title" => trim($title), "url" => trim($url));
        }
    }
}

/*  colors  */
$colors = [
    '#F8D800',
    '#0396FF',
    '#EA5455',
    '#7367F0',
    '#32CCBC',
    '#F6416C',
    '#28C76F',
    '#9F44D3',
    '#F55555',
    '#736EFE',
    '#E96D71',
    '#DE4313',
    '#D939CD',
    '#4C83FF',
    '#F072B6',
    '#C346C2',
    '#5961F9',
    '#FD6585',
    '#465EFB',
    '#FFC600',
    '#FA742B',
    '#5151E5',
    '#BB4E75',
    '#FF52E5',
    '#49C628',
    '#00EAFF',
    '#F067B4',
    '#F067B4',
    '#ff9a9e',
    '#00f2fe',
    '#4facfe',
    '#f093fb',
    '#6fa3ef',
    '#bc99c4',
    '#46c47c',
    '#f9bb3c',
    '#e8583d',
    '#f68e5f',
];


require_once Controller::instance()->view->fetch();
